package com.dews.system.service;

import java.util.List;

import com.dews.system.domain.SysUserTest;
import com.dews.common.bean.user.SysUserTestBean;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 测试业务Service接口
 *
 * @author rakic
 * @date 2024-01-22
 */
public interface ISysUserTestService extends IService<SysUserTest> {
    /**
     * 查询测试业务
     *
     * @param testId 测试业务主键
     * @return 测试业务
     */
    public SysUserTestBean selectSysUserTestByTestId(Long testId);

    /**
     * 查询测试业务列表
     *
     * @param sysUserTest 测试业务
     * @return 测试业务集合
     */
    public List<SysUserTestBean> selectSysUserTestList(SysUserTestBean sysUserTestBean);

    /**
     * 新增测试业务
     *
     * @param sysUserTest 测试业务
     * @return 结果
     */
    public int insertSysUserTest(SysUserTestBean sysUserTestBean);

    /**
     * 修改测试业务
     *
     * @param sysUserTest 测试业务
     * @return 结果
     */
    public int updateSysUserTest(SysUserTestBean sysUserTestBean);

    /**
     * 批量删除测试业务
     *
     * @param testIds 需要删除的测试业务主键集合
     * @return 结果
     */
    public int deleteSysUserTestByTestIds(List<Long> testIds);

    /**
     * 删除测试业务信息
     *
     * @param testId 测试业务主键
     * @return 结果
     */
    public int deleteSysUserTestByTestId(Long testId);
}
